package cate.common.table.res.worldtree.sheet;

import cate.common.table.ESheet;
import cate.common.table.res.worldtree.row.HeroShareBaseRow;

public class HeroShareBaseSheet extends ESheet<HeroShareBaseRow> {

    @Override
    public String getSheetName() {
        return "世界之树基础";
    }

    public HeroShareBaseRow getRow(int id) {
        for (HeroShareBaseRow row : this.getList()) {
            if (row.id == id) {
                return row;
            }
        }
        return null;
    }
}
